<%= render 'selected_hosts', :hosts => @hosts %>

<%= form_for :hostgroup, :url => update_multiple_hostgroup_hosts_path(:host_ids => params[:host_ids]) do |f| %>
  <%= selectable_f f, :id, [[_("Select host group"),"disabled"],[_("*Clear host group*"), "" ]] + Hostgroup.all.map{|h| [h.to_label, h.id]}.sort,{},
        :label => _("Hostgroup"), :onchange => "tfm.hosts.table.toggleMultipleOkButton(this)" %>
<% end %>
